<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>预测图像</title>
</head>
<body>
<!--上传图片的表单-->
<form action="http://127.0.0.1:5000/upload" enctype="multipart/form-data" method="post">
    选择上传的图像：<input type="file" name="img"><br>
    <input type="submit" value="上传">
</form>

<br><br>

<!--调用服务器预测接口的表单-->
<form action="http://127.0.0.1:5000/infer" enctype="multipart/form-data" method="post">
    选择预测的图像：<input type="file" name="img"><br>
    <input type="submit" value="预测">
</form>
</body>
</html>